package br.edu.ufcg.embedded.domain;

public class CustomVertex {
	
	private int number;
	private int distance;
	private String classification;
	private String parent;
	private Visitor color;
	
	public CustomVertex(int number, String classification, String parent) {
		
		this.number = number;
		this.classification = classification;
		this.parent = parent;
		this.distance = 0;
		this.color = Visitor.WHITE;
	}

	public int getNumber() {
		return number;
	}

	public String getClassification() {
		return classification;
	}
	
	public String getParent() {
		return parent;
	}
	
	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}
	
	public Visitor getColor() {
		return color;
	}

	public void setColor(Visitor color) {
		this.color = color;
	}

	@Override
	public String toString() {
		
		return Integer.toString(number);
	}
}